var dom = document.getElementById("LPerson");
var myChart = echarts.init(dom);
option = {
    title: {
        text: '24h流量统计/M(数据流量)'
    },
    tooltip: {
        trigger: 'axis'
    },
    
    grid: {
    	top:'15%',
        left: '3%',
        right: '23%',
        bottom: '3%',
        containLabel: true
    },
    
    xAxis: {
        type: 'category',
        data: ['0~4', '4~8', '8~12', '12~16', '16~20', '20~24']
    },
    yAxis: {
        type: 'value'
    },
    series: [
        {
            name:'/h',
            type:'line',
            step: 'start',
            data:[0.2, 0, 32, 42, 60, 30]
        },
    ]
};
myChart.setOption(option, true);